package loaders
{
	
	import flash.events.Event;
	
	public class LoaderEvent extends Event
	{
		public static const COMPLETE:String = "complete";
		public static const PROGRESS:String = "progress";
		public static const LOAD_ERROR:String  = "LoadError";
		public var loader:ILoader;
		public function LoaderEvent(type:String, loader:ILoader)
		{
			this.loader = loader;
			super(type);
		}
		
		override public function clone():Event
		{
			var event:LoaderEvent = new LoaderEvent(type,loader);
			return event;
		}
	}
}